<?php echo $header; ?>
<div id="content">
  <div class="box">
    <div class="heading">
      <h1><img src="view/image/layout.png" alt="" /> <?php echo $_['heading_title']; ?></h1>
      <div class="buttons"><a onclick="submit()" class="button"><?php echo $_['button_save']; ?></a></div>
    </div>
    <div class="content">
      <form action="" method="post" enctype="multipart/form-data" id="form">
        <table class="form">
          <tr>
            <td><span class="required">*</span> <?php echo $_['entry_filename']; ?></td>
			<td><input type="text" name="file" value="<?php echo $file; ?>" size="45"></td>
          </tr>
		  <tr>
			<td><?php echo $_['entry_content'];?></td>
			<td><textarea id="filecontent" style="height: 450px; width: 100%;" name="content"><?php echo $content;?></textarea></td>
		  </tr>
        </table>		
      </form>
    </div>
  </div>
</div>
<script type="text/javascript" src="view/javascript/edit_area/edit_area_full.js"></script>
<script type="text/javascript"><!--
editAreaLoader.init({
	id: "filecontent",
	start_highlight: true,
	allow_resize: "both",
	allow_toggle: true,
	word_wrap: true,
	language: "en",
	syntax: "<?php echo $syntax?>"	
});

function submit() {
	$('#filecontent').val(editAreaLoader.getValue('filecontent'));
	$('#form').submit();
}
//--></script> 
<?php echo $footer; ?>